﻿Jxstar.currentPage = function() {
	var config = {param:{},initpage:function(page, define){},eventcfg:{}};
	
		var items = [{
		border:false,
		layout:'form',
		autoHeight:true,
		cls:'x-form-main',
		items:[{
			anchor:'100%',
			border:false,
			layout:'column',
			autoHeight:true,
			items:[{
				border:false,
				columnWidth:0.495,
				layout:'form',
				items:[
					{xtype:'textfield', fieldLabel:'节点ID', name:'wf_order_node__node_id', readOnly:true, anchor:'100%', maxLength:25},
					{xtype:'textfield', fieldLabel:'节点类型', name:'wf_order_node__node_type', readOnly:true, anchor:'100%', maxLength:20},
					{xtype:'hidden', fieldLabel:'审批单据ID', name:'wf_order_node__order_id', anchor:'100%'}
				]
			},{
				border:false,
				columnWidth:0.495,
				layout:'form',
				items:[
					{xtype:'textfield', fieldLabel:'节点名称', name:'wf_order_node__node_title', readOnly:true, anchor:'100%', maxLength:50},
					{xtype:'numberfield', decimalPrecision:0, fieldLabel:'位置高度', name:'wf_order_node__edit_height', anchor:'100%', maxLength:22},
					{xtype:'hidden', fieldLabel:'主键', name:'wf_order_node__wf_nodeid', anchor:'100%'}
				]
			}
			]
		},{
			anchor:'100%',
			border:false,
			layout:'column',
			autoHeight:true,
			items:[{
				border:false,
				columnWidth:0.99,
				layout:'form',
				items:[
					{xtype:'textfield', fieldLabel:'可编辑URL', name:'wf_order_node__check_url', anchor:'100%', maxLength:200},
					{xtype:'textarea', fieldLabel:'字段Render', name:'wf_order_node__field_render', anchor:'100%', height:90, maxLength:1000}
				]
			}
			]
		}]
	}];
	
	config.param = {
		items: items,
		funid: 'wf_order_node'
	};

	config.param.formWidth = '100%';

	
	
	return new Jxstar.FormNode(config);
}